<!-- player placeholder: 640px by 390px -->
{% if videoid %}
<iframe src="http://www.youtube.com/embed/{{ videoid }}?autoplay=1" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" width="100%" height="100%"></iframe>
{% else %}{% if playlistid %}
<iframe src="http://www.youtube.com/p/E46798C874B35B7F?fs=1&amp;version=3&amp;autoplay=1" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" width="100%" height="100%"></iframe>
{% else %}
<div style="background-color: #edc; color: #fff; width:100%; height: 100%; font-family: Helvetica, Arial; font-size: 24px; font-weight: bold; margin: auto auto auto auto;">
	<div>
		<center>PLAYER AREA</center>
		<center>640x390</center>
		<form method="POST">
			<div>
			Video ID: <input name="videoid" value="{{ videoid|escape }}"/><br/>
			Playlist ID: <input name="playlistid" value="{{ playlistid|escape }}"/><br/>
			<input type="submit" value="Go"/><br/>
			</div>
		</form>
	</div>
</div>
{% endif %}{% endif %}


